public class Main {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList();
        myLinkedList.addFirst(4);
        myLinkedList.addFirst(4);
        myLinkedList.addFirst(4);
        myLinkedList.display();
//        myLinkedList.addIndex(1,30);
//        myLinkedList.display();
//        myLinkedList.remove(1);
//        myLinkedList.display();
        myLinkedList.removeAllKey(4);
        myLinkedList.display();
    }
}